import http from '../common/http.js'
//注册
export const getSelectApi = ()=>{
	return http.get("/api/category/getSelect")
}
//发布
export const releaseApi = (parm)=>{
	return http.post("/api/goods/release",parm)
}
//判断是否已经收藏
export const hasCollectApi = (parm)=>{
	return http.get("/api/collect/hasCollect",parm)
}
//收藏
export const collectApi = (parm)=>{
	return http.post("/api/collect/collect",parm)
}
//删除
export const deleteApi = (parm)=>{
	return http.post("/api/goods/delete",parm)
}
//寻回
export const hasClaimandFindApi = (parm)=>{
	return http.post("/api/goods/hasClaimandFind",parm)
}
//编辑
export const editdApi = (parm)=>{
	return http.post("/api/goods/edit",parm)
}
//取消
export const cancelApi = (parm)=>{
	return http.post("/api/collect/cancel",parm)
}